Part Number Hot Search : 
4LVCH8 SF2060B LTC2905 10A01 1533A B2912BT1 MSP140 HEF4502B
Product Description
Full Text Search
 

To Download EM84530 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  EM84530 2-in-one mouse controller 1 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary general description the EM84530 mouse controller is specially designed to control serial mouse or ps/2 mouse device. this single chip can interface three key-switches and 4 x-y photo-couples directly to rs-232c or 8042 controller. features ? include pnp software scrolling function ? using 50k w 1% resistor for rc oscillation. ? compatible with legacy ps/2 mouse. ? compatible with microsoft serial mouse. ? compatible with microsoft ps/2 mouse. ? serial or ps/2 port auto-detect. ? 100 bytes pnp id code could be filled by code layer. ? built-in noise immunity circuit. ? the sampiling rate of motion detector is up to 65khz. ? built-in three zener diodes : one in vdd to vss, two in rts to vdd. ? cmos push-pull rxd output. ? built-in current comparator for photo-couples input. ? built-in three step dynamic input impedance. ? three key-switches and four photo-couples inputs. ? rts debouncing circuit included. ? photo couple test mode included. ? low power dissipation. application ? serial pnp mouse. ? ps/2 mouse. ? combo mouse. pin assignment v dd osc.out nc nc clk/rts data/rxd opt vss 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 oscr y2 y1 x2 x1 l m r EM84530
EM84530 2-in-one mouse controller 2 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary functional block diagram pin descriptions opt i/o input: 200k w pull low to vss. when opt is connected to vdd, EM84530 will enter test mode. in test mode, l will be the output of x1,while m will be the output of x2. toggling r key can change these output to be y1,y2 respectively. osc.out o the rc oscillation clock output. or 3ma sink current output for x, y photo emitters. oscr i connect 50k w 1% precise resistor for oscillation. clk/rts i/o connect directly to 8042 auxiliary port clk line in ps/2 mode or connect directly to rs-232c rts pin in serial mode. auto-detect the operating port by this pin. data/rxd i/o connect directly to 8042 auxiliary port data line in ps/2 mode or connect directly to rs-232c rxd pin in serial mode. r i three key-switches inputs. 200k w resistor pull low. m i/o l i/o x1 i three step dynamic input impedance. if osc.out is not connected to leds, the x2 i dynamic input impedance will be off. y1 i use current comparator to measure photo-couples "on", or "off". y2 i vss negative power. vdd power line. symbol i/o function opt x1 x2 y1 y2 l m r oscr osc.out c o m p a r a t o r m o t i o n d e t e c t o r d e b o u n c e counter command & status or pnp io system clock generator rc oscillation multiplexer data i/o timing controller data/rxd clk/rts
EM84530 2-in-one mouse controller 3 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary function descriptions (i) serial mouse : in microsoft mode, the transmission cycle consists of four bytes in one report. each byte contains one start bit, 7 data bits and two stop bits. the first byte contains "l", "r" key status and four bits of the two most significant bits in horizontal counter and vertical counter. the second byte represents the value accumulated by horizontal counter, the third byte is the data of the vertical counter. the last byte contains only "m" key status. the vertical data is transmitted in 2's complement. output byte arrange bit no. ...... 654321 0 1st byte ...... 1 l r v7' v6' h7 h6 2nd byte .... 0 h5 h4 h3 h2 h1 h0 3rd byte .... 0 v5' v4' v3' v2' v1' v0' 4th byte .... 0 0 m 0 0 0 0 plug & play id code when rts input from low to high, em83810 will send a string id code. customer can specify the contains of the code area and the total lenth below 100 bytes by changing the code layer. field name length field data description other id <17 4d, 5a, 40, 00, 00, 00 id for legacy begin id 1 08 begin pnp id pnp revision 2 01, 24 version 1.00 eisa id 3 25, 2d, 23 emc product id 4 10, 10, 10, 11 0001 serial number 9 3c none provided class id <34 3c, 2d, 2f, 35, 33, 25 mouse class driver id <42 3c, 30, 2e, 30, 10 26, 10, 21 pnp0f0a user name <42 3c, 25, 2d, 23, 00, 33, 23, 32, emc scrolling 2f, 2c, 2c, 29, 2e, 27, 00, 33, serial mouse 25, 32, 29, 21, 2c, 00, 2d, 2f, 35, 33, 25 checks um 2 21, 15 2 bytes checks um end pnp 1 09 end pnp id (ii) legacy ps/2 mouse operating: (a) operating mode there are four operating modes in ps/2 mouse: a. reset mode: in this mode a self-test is initiated during power-on or by a reset command. after reset signal, ps/2 mouse will (a) send completion code aa & id code 00. (b) set default :
EM84530 2-in-one mouse controller 4 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary sampling rate: 100 reports/s non-autospeed stream mode 2 dot/count disable b. stream mode: the maximum rate of transfer is the programmed sample rate. data report is transmitted if (a) switch is pressed (b) movement has been detect c. remote mode: data is transmitted only in response to a read data command. d. wrap mode: any byte of data sent by the system, except hex ec ( reset wrap mode ) or hex ff ( reset ), is returned by EM84530. b). ps/2 mouse data report: a). in stream mode: a data report is sent at the end of a sample interval. b). in remote mode: a data report is sent in response to read data command. c). data report format: byte bit description 1 0 left button status; 1 = pressed 1 right button status; 1 = pressed 2 middle button status; 1 = pressed 3 reserve 4 x data sign; 1 = negative 5 y data sign; 1 = negative 6 x data overflow; 1 = overflow 7 y data overflow; 1 = overflow 2 0-7 x data ( d0 - d7 ) 3 0-7 y data ( d0 - d7 ) c) ps/2 mouse data transmission: a). EM84530 generates the clocking signal when sending data to and receiving data from the system. b). the system requests EM84530 receive system data output by forcing the data line to an inactive level and allowing clk line to go to an active level.
EM84530 2-in-one mouse controller 5 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary c). data transmission frame: bit function 1 start bit ( always 0 ) 2-9 data bits ( d0 - d7 ) 10 parity bit ( odd parity ) 11 stop bit ( always 1 ) d). data output ( data from EM84530 to system ): if clk is low ( inhibit status ) , data is no transmission. if clk is high and data is low ( request-to-send ), data is updated. data is received from the system and no transmission are started by EM84530 until clk and data both high. if clk and data both are high, the transmission is ready. data is valid prior to the falling edge of clk and beyond the rising edge of clk. during transmission, EM84530 check for line contention by checking for an inactive level on clk at intervals not to exceed 100u sec. contention occurs when the system lowers clk to inhibit EM84530 output after EM84530 has started a transmission. if this occurs before the rising edge of the tenth clock, EM84530 internal store its data in its buffer and returns data and clk to an active level. if the contention does not occur by the tenth clock, the transmission is complete. following a transmission, the system inhibits EM84530 by holding clk low until it can service the input or until the system receives a request to send a response from EM84530. e). data input ( from system to EM84530 ): the system first check if EM84530 is transmitting data. if EM84530 is transmitting, the system can override the output forcing clk to an inactive level prior to the tenth clock. if EM84530 transmission is beyond the tenth clock, the system receives the data. if EM84530 is not transmitting or if the system choose to override the output, the system force clk to an inactive level for a period of not less than 100 m sec while preparing for output. when the system is ready to output start bit (0), it allows clk go to active level. if request-to-send is detected, EM84530 clocks 11 bits. following the tenth clock EM84530 checks for an active level on the data line, and if found, force data low , and clock once more. if occurs framing error, EM84530 continue to clock until data is high, then clocks the line control bit and request a resend. when the system sends out a command or data transmission that requires a response, the system waits for EM84530 to response before sending its next output. d). ps/2 mouse error handling: a). a resend command ( fe ) following receipt of an invalid input or any input with incorrect parity. b). if two invalid input are received in succession, an error code of hex (fc) is send to the system. c). the counter accumulators are cleared after receiving any command except resend. d). EM84530 receives a resend command ( fe ), it transmit its last packet of data. e). in the stream mode resend is received by EM84530 following a 3-byte data packet transmission to the system. EM84530 resend the 3-byte data packet prior to clearing the counter.
EM84530 2-in-one mouse controller 6 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary f). a response is sent within 25 ms if a). the system requires a response b). an error is detected in the transmission g). if EM84530 is in the stream mode : a). the system disables EM84530 before issuing any command requiring a response. b). when a command requiring a response is issued by the system ,another command should not be issue until either the response is received or 25ms has passed. e). ps/2 mouse commands description: there are 16 valid commands that transmits between the system and EM84530. the fa code is always the first response to any valid input received from the system other than a set wrap mode or resend command. the following table list the commands: hex code command echo code ff reset fa,aa,00 fe resend xx,(xx,xx) f6 set default fa f5 disable fa f4 enable fa f3,xx set sampling rate fa,fa f2 read device type fa,00 f0 set remote mode fa ee set wrap mode fa ec reset wrap mode fa eb read data fa,xx,xx,xx ea set stream mode fa e9 status request fa,xx,xx,xx e8,xx set resolution fa,fa e7 set auto-speed fa e6 reset auto-speed fa the following describes valid commands: a). reset ( ff ) EM84530 operation: a). completion the reset. b). transmitted fa, aa, 00 to the system. c). set default: sampling rate: 100 reports/s non-autospeed stream mode 2 dots/count disable
EM84530 2-in-one mouse controller 7 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary b). resend ( fe ) a). any time EM84530 receives an invalid command, it returns a resend command to the system. b). when EM84530 receives a resend command, it retransmits its last packet of data. if the last packet was a resend command, it transmits the packet just prior to the resend command. c). in stream mode, if a resend command is received by EM84530 immediately following a 3-byte data packet transmission to the system. c). set default ( f6 ) the command reinitializes all conditions to the power-on defaults. d). disable ( f5 ) this command is used in the stream mode to stop transmissions from EM84530. e). enable ( f4 ) begins transmissions, if in stream mode. f). set sampling rate ( f3,xx ) in the stream mode, this command sets the sampling rate to the value indicated by byte hex xx, shown in following: second byte xx sample rate 0a 10/sec 14 20/sec 28 40/sec 3c 60/sec 50 80/sec 64 100/sec c8 200/sec g). read device type ( f2 ) EM84530 always echoes fa,00 following this command. h). set remote mode ( f0 ) data value are reported only in response to a read data command. i). set wrap mode ( ee ) wrap mode remains until reset ( ff ) or reset wrap mode ( ec ) is received. j). reset wrap mode ( ec ) EM84530 returns to the previous mode of operation after receiving this command. k). read data ( eb ) this command is executed in either remote or stream mode. the data is transmitted even if there has been no movement since the last report or the button status is unchanged. following a read data command, the registers are cleared after a data transmission. l). set stream mode ( ea ) this command sets EM84530 in stream mode.
EM84530 2-in-one mouse controller 8 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary m). status request ( e9 ) when this command is issued by the system, EM84530 respond with a 3-byte status report as follows: byte bit description 1 0 1 = right button pressed 1 1 = middle button pressed 2 1 = left button pressed 3 reserved 4 0 = normal speed, 1 = autospeed 5 0 = disabled, 1 = enabled 6 0 = stream mode, 1 = remote mode 7 reserved 2 0-7 current resolution setting ( d0 - d7 ) 3 0-7 current sampling rate ( d0 - d7 ) n). set resolution ( e8,xx ) EM84530 provides four resolutions selected by the second byte of this command as follows: second byte xx resolution 00 8 dots/count 01 4 dots/count 02 2 dots/count 03 1 dots/count o). set autospeed ( e7 ) at the end of a sample interval in the stream mode, the current x and y data values are converted new values. the sign bits are not involved in this conversion. the conversion is only in stream mode. the relationship between the input and output count follows: input ouput 00 11 21 33 46 59 n( 3 6 ) 2.0*n p). reset autospeed ( e6 ) this command restore normal speed.
EM84530 2-in-one mouse controller 9 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary (iii) microsoft ps/2 scrolling mouse mode: (a) entering procedure: except in wrap mode, while EM84530 received the following consecutive command. i. f3 c8 ---- set sampling rate 200/sec ii. f3 64 ---- set sampling rate 100/sec iii. f3 50 ---- set sampling rate 80/sec (b) operating: a. all of the commands in legacy mode still be valid. b. the id code of read device type command (f2) will changed from "00" to be "03". c. data report will be four bytes format: byte bit description 1 0 left button status; 1 = pressed 1 right button status; 1 = pressed 2 middle button status; 1 = pressed 3 reserve 4 x data sign; 1 = negative 5 y data sign; 1 = negative 6 x data overflow; 1 = overflow 7 y data overflow; 1 = overflow 2 0-7 x data ( d0 - d7 ) 3 0-7 y data ( d0 - d7 ) 4 0-7 reserved ( 0 ) (c) exiting microsoft ps/2 mouse mode: there are two ways to exit: a. power off. b. reset command (ff).
EM84530 2-in-one mouse controller 10 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary ps/2 mouse mode : (t a =25 c to 70 c) parameters sym. min. typ. max. unit operating voltage vdd 4.5 - 5.5 v operating current (no load) i op --1 ma clk, data vt+ 3.2 - 3.8 v postive-going threshold voltage clk, data vt - 1.2 - 1.9 v negative-going threshold voltage data, clk input current (vin=0v ) idc 0.56 - 1.86 ma data,clk low output voltage (iprl=-2ma) vprl - - 0.4 v dc electrical characteristics (t a =25 c to 70 c) parameters sym. min. typ. max. unit x1,x2,y1,y2 low input reference current i pl 70 - - m a x1,x2,y1,y2 high input reference current iph - - 106 m a x1,x2,y1,y2 input current (80 m a) v pi1 0.8 - 1.2 v x1,x2,y1,y2 input current (500 m a) v pi2 1.5 - 2.1 v l,m,r,opt input low voltage vail - - 1.5 v l,m,r,opt input high voltage vaih 3.5 - - v l,m,r input current (vin=5v) rmi 18 - 56 m a opt input current ixi -18 - -56 m a opt high output current (iopt=20ma) vopt 4.5 - - v l,m,r,x1,x2,y1,y2 input leakage current iil 0 - -1.0 m a (vin=0v) opt input leakage current (vin=5v) iih 0 - 1.0 m a osc.out iosc 3 - 3.6 ma sink current absolute maximum ratings parameter ratings unit min. max. temperature under bias 0 70 c storage temperature range -65 150 c supply voltage -0.3 7.5 v power dissipation - 500 mw serial mouse mode : (t a =25 c to 70 c) parameters sym. min. typ. max. unit operating voltage vdd 4 5.6 6.2 v vrts - 12.2 13 v operating current (vdd=5.4v, rts=vdd) iop1 - - 1 ma operating current (vdd=6.2v, rts=vdd) iop2 3 - - ma rts operating current (vdd=5.6v, rts=11v) irts1 - - 1.8 ma rts operating current (vdd=5.4v, rts=12.5v) irts2 4 - - ma rxd high output voltage (vrh=vrts-2.6v) irh 2 - - ma rxd low output voltage (vrl=vss+2.6v) irl - - -2 ma rts high input voltage vrts+ 9.6 - - v rts low input voltage vrts- - - 6.8 v * all parameters in above table are compared with vss
EM84530 2-in-one mouse controller 11 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary ac electrical characteristics (t a =25 c to 70 c) ps/2 mouse mode : serial mouse mode : parameters sym. min. typ. max. unit oscillating frequency fosc 32.4-3% 32.4 32.4+3% khz key debounce tkd - 13 - ms rising edge crossed width tr 15.4 - - us falling edge crossed width tf 15.4 - - us transmission time tmx - 33.33 - ms start bit time ts - 833.3 - us data bit time td - 833.3 - us stop bit time tp - 833.3 - us mode code delay time trd 11 - 14 ms parameters sym. min. typ. max. unit oscillating frequency fosc 37.0-3% 37.0 37.0+3% khz key debounce tkd - 12 - ms rising edge crossed width tr 13.5 - - us falling edge crossed width tf 13.5 - - us mouse clk active time tmca - 40.5 - us mouse clk inactive time tmci - 40.5 - us time that mouse sample data from tmdc - 13.5 - us clk rising edge system clk active time tsca - 40.5 - us system clk inactive time tsci - 40.5 - us time from data transition to falling edge of clk tsdc - 13.5 - us time from rising edge of clk to data transition tscd - 27.0 - us time to mouse inhibit after the 11th clk to tpi 0 - 50 us ensure mouse does not start another transmission x1, x2,y1,y2 input impedance 5.0 4.0 3.0 2.0 1.0 10.0m 0 1.0k 2.0k 3.0k 4.0k 5.0k 6.0k 7.0k 8.0k 9.0k 10.0.k 11.0k 12.0k 13.0k 14.0k volts (lin) 15.0k 16.0k max. typ. min.
EM84530 2-in-one mouse controller 12 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary timing diagram (a) ps/2 mouse mode clk data inhibit 1st clk 2nd clk 9th clk 10th clk 11th clk tmca tmci tmdc start bit bit0-bit7 parity bit stop bit line control bit clk data 1st clk 2nd clk 10th clk 11th clk tsci tpi tscd tsca tsdc start bit bit0-bit7 parity bit stop bit (a) photo-couples pulse width (b) receiving data (c) sending data x1(y1) x2(y2) tr tf
EM84530 2-in-one mouse controller 13 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary (b) serial mouse mode : (a) rxd output : (b) bytes structure : tmx tmx key in/release mouse rxd rxd 1st 2rd 3nd 4nd (c) bits structure : (d) pnp id code echo timing : 0 1 rxd line data bit no. ts td td td td td td td tp tp 0 4d 5a 40 00 00 00 08 1 2 3456 rts rxd < trd > ts0123 45 tp tp pnp id code 09 "4d" code bit no
EM84530 2-in-one mouse controller 14 * this specification are subject to be changed without notice. 6.28.1999 preliminary preliminary preliminary preliminary preliminary application circuit * 50 k w must be precise resistor 15 13 12 4 3 11 10 9 oscr v ss dd v clk/rts data/rxd opt osc.out 16 1 5 6 7 8 2 14 y2 y1 x2 x1 l m r EM84530 10 f 0.1 f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 9 nc nc data gnd +5v clk 50k* 5.1v 4 chips digital pt 2 chips analog pt 1k rxd txd dtr sg dsr rts


▲Up To Search▲   

 
Price & Availability of EM84530

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X